﻿using SqlSugar;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace L.M.System.Domain.Entity
{

    /// <summary>
    /// 组织结构图实体类
    /// </summary>
    [SugarTable("organization_chart")]
    public class organization_chart
    {
        /// <summary>
        /// 部门编号
        /// </summary>
        [SugarColumn(IsPrimaryKey = true, ColumnDescription = "部门编号", Length = 200)]
        public string department_number { get; set; }

        /// <summary>
        /// 部门名称
        /// </summary>
        [SugarColumn(ColumnDescription = "部门名称", Length = 200)]
        public string? department_name { get; set; }

        /// <summary>
        /// 机构编号
        /// </summary>
        [SugarColumn(ColumnDescription = "机构编号", Length = 200)]
        public string? department_institution { get; set; }

        /// <summary>
        /// 负责人
        /// </summary>
        [SugarColumn(ColumnDescription = "负责人", Length = 200)]
        public string? department_person { get; set; }

        /// <summary>
        /// 部门人数
        /// </summary>
        [SugarColumn(ColumnDescription = "部门人数")]
        public int department_num { get; set; }

        /// <summary>
        /// 状态
        /// </summary>
        [SugarColumn(ColumnDescription = "状态")]
        public bool department_status { get; set; }

        /// <summary>
        /// 备注
        /// </summary>
        [SugarColumn(ColumnDescription = "备注", Length = 200)]
        public string? department_remark { get; set; }

        /// <summary>
        /// 父类编号
        /// </summary>
        [SugarColumn(ColumnDescription = "父类编号", Length = 200)]
        public string? department_fid { get; set; }
    }
}
